package com.flux.tms.tm${bean.numMain}srv.t${bean.numMain}${bean.numSub}.impl.dao;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import org.springframework.dao.EmptyResultDataAccessException;
import org.springframework.stereotype.Repository;

import com.flux.tms.tm${bean.numMain}srv.t${bean.numMain}${bean.numSub}.${bean.javaFlieName}CVal;
import com.flux.scev6.dbopr.BaseDao;
import com.flux.scev6.login.model.LoginInfoObj;

/**
 * 
 * T${bean.numMain}${bean.numSub} ${bean.notesMain} -- ${bean.notesSub}   -- srv 新增数据   DAO 定义
 * 
 * T${bean.numMain}${bean.numSub} ${bean.notesSub}
 * 
 * <p>
 * 创建时间：${bean.dayTime}
 * <p>
 *
 * <p>
 * 修改时间：${bean.dayTime}
 * <p>
 *
 * @author ${bean.author}
 * 
 * @version V1.0.0
 *
 */
@Repository
public class Add${bean.javaFlieName}Dao extends BaseDao {

	/**
	 * V100(${bean.numTime}) ${bean.author} 初版。
	 */
    @SuppressWarnings("unused")
	private static String verNum = "V100(${bean.numTime})";// 版本号

	/**
	 * 新增  ${bean.notesSub}   数据
	 * 
	 * 
	 * @date ${bean.dayTime}
	 * 
	 * @param loginInfoObj  登录信息
	 * @param bizDataMap  提交参数
	 * @return
	 */
	public int insert${bean.javaFlieName}1H(LoginInfoObj loginInfoObj, Map<String, String> bizDataMap) throws Exception{
		// 返回影响的记录数
		return insertRow(loginInfoObj, bizDataMap, ${bean.javaFlieName}CVal.${(bean.tableName)?upper_case});
	}
}
